// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Loading from './components/loading'
import store from './store/store'
import axios from 'axios'
import VueAxios from 'vue-axios'
import MintUI from 'mint-ui' // 一般直接放在这个位置
import 'mint-ui/lib/style.css' // 样式文件需要单独引用
import './assets/less/app.less'
import AMap from 'vue-amap'
Vue.use(AMap);
Vue.use(MintUI);
Vue.use(VueAxios, axios);
Vue.use(Loading);
AMap.initAMapApiLoader({
  key: '7141ff87786a9da4c2f0b3a02649aa76',//刚刚开发者申请哪里的key
  plugin: ['AMap.Scale', 'AMap.OverView', 'AMap.ToolBar', 'AMap.MapType','AMap.Geolocation']
});
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App },

});

